<template>
  <header>
    {{ title }}
    <span class="iconfont icon-caidan"></span>
  </header>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
@import "../../assets/css/var.less";
header {
  width: 100%;
  height: 51px;
  background: @theme-color;
  .center();
  color: #fff;
  font-size: @l-size;
  position: relative;

  .iconfont {
    position: absolute;
    right: 20px;
    font-size: 25px;
  }
}
</style>
